package emulator.hardware.io.peripherals.iec.sim;

public class Event
{
	private Condition [] _conditions = null; 
	
	public Event(Condition [] conditions)
	{
		_conditions = conditions;
	}
	
	boolean evaluate()
	{
		for (Condition condition : _conditions)
		{
			if (!condition.evaluate())
				return false;
		}
		return true;
	}
}
